package org.xxpay.core.service;

import org.xxpay.core.entity.PayDivisionRecord;

import java.util.List;

public interface IPayDivisionRecordService {

    List<PayDivisionRecord> select(int offset, int limit, PayDivisionRecord condition) ;

    Integer count(PayDivisionRecord condition) ;

    PayDivisionRecord findById(Long id);

    int add(PayDivisionRecord payChannelMch);

    int update(PayDivisionRecord payChannelMch);

    int updateByOrderId(String payOrderId, PayDivisionRecord updateRecord);

    List<PayDivisionRecord> selectByPayOrderId(String payOrderId);

    List<PayDivisionRecord> selectByAgent(int offset, int limit, Long currentAgentId, PayDivisionRecord condition);

    int countByAgent(Long currentAgentId, PayDivisionRecord condition);


}
